package concurrenthashmap;

import java.util.concurrent.ConcurrentHashMap;

/**
 * @author cyt
 * @create 2020-09-16 上午 10:20
 */
public class ConcurrentMap {

    public static void main(String[] args) {
        ConcurrentHashMap<String, Object> map = new ConcurrentHashMap<>(2);
        map.put("test", new ConcurrentHashMap<>(2));
        // 1073741824
        System.out.println(1 << 30 >>> 1);
        System.out.println(16 - (16 >>> 2));
    }
}
